var pager = new vo.newObj({
	el:'#pager',
	datas:{
		num:parseInt(num),
		pages:parseInt(pages),
		classifyId:classifyId
	},
	methods:{
		back:function(){
			var turn = this.get("num")-1;
			if(turn > 0 ){
				this.modify("num",turn);
				this.trigger("turn");
			}
		},
		next:function(){
			var turn = this.get("num")+1;
			if(turn <= this.get("pages")){
				this.modify("num",turn);
				this.trigger("turn");
			}
		},
		locate:function(){
			var t = target();
			var turn = parseInt(t.getAttribute("idx"));
			if(turn > 0 && turn <= pages){
				this.modify("num",turn);
				this.trigger("turn");
			}
		},
		turn:function(){
			var url = path+"/"+blog.path+"/article";
			var classifyId = this.get("classifyId");
			if(typeof(classifyId)!='undefined'&& classifyId != ''){
				url += ('/cly/'+classifyId);
			}
			url+=('/list/'+this.get("num"));
			window.location.href = url;
		}
	}
});